package com.aaa.service.impl;

import com.aaa.dao.ProductMapper;
import com.aaa.entity.Product;
import com.aaa.service.ProductService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ProductServiceImpl  extends ServiceImpl<ProductMapper, Product> implements ProductService {
    @Resource
    ProductMapper productMapper;
    @Override
    public List<Product> select() {
        return productMapper.select();
    }

    @Override
    public List<Product> select2() {
        return productMapper.select2();
    }

    @Override
    public List<Product> select3(String pname) {
        return productMapper.select3(pname);
    }

}
